import pytest
import os

from testcases.BOSS import test_login_bywechat

if __name__ == '__main__':
    # pytest.main(['-v', '-s', '-W', 'ignore:Module already imported:pytest.PytestWarning', '--capture=sys'])

    pytest.main(['-v', '-s', '--capture=sys'])
    #  allure 报告，不用注释掉
    # os.system(r"allure generate allure-results --clean -o allure-report")
    # from emails.email_manage import send_report
    #
    # send_report()  # 在pycharm时候就要开启邮件发送
